package org.catdroid.bomba.server.bean;

import java.sql.Date;

public class Player {
        private String id;
        private String name;
        private int score;
        private boolean ready=false;
        private boolean finished=false;
        private Date request;
        
        public Player() {
        	super();
        }
        public Player(String id, String name) {
			super();
			this.id = id;
			this.name = name;
			request = new Date(System.currentTimeMillis());
		}
        public String getId() {
                return id;
        }
        public void setId(String id) {
                this.id = id;
        }
        public String getName() {
                return name;
        }
		public void setName(String name) {
                this.name = name;
        }
        public int getScore() {
                return score;
        }
        public void setScore(int score) {
                this.score = score;
        }
		public boolean isReady() {
			return ready;
		}
		public void setReady(boolean ready) {
			this.ready = ready;
		}
		public boolean isFinished() {
			return finished;
		}
		public void setFinished(boolean finished) {
			this.finished = finished;
		}
        public Date getRequestDate() {
			return request;
		}
		public void setRequestDate(Date request) {
			this.request = request;
		}

        
       
}
